<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>复制</title>
</head>
<body>
<script>
    function f1() {
        alert(f1());
    }
    function f2(name,age) {
        alert(name+":"+age)
    }
    f2("张三",12);
    function f3(x,y) {
        return (x+y);
    }
    let log=f3(6,5);
    alert(log);
    function f4() {
        return "无参有返回值!";
    }
    alert(f4);
    let f5 = function (name,age) {
        alert(name+":"+age);
    }
    f5("张三",16);
    let f6 = new Function("name","age",alert(name+))
</script>
</body>
</html>